QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


QT_TINA_ROOT="/home/qtubuntu/tools/tina_v853_gs_repo"
#QT_STAGING_DIR="out/v853-gs_ai_camera/staging_dir/target"
#QT_MPP_PATH="usr/include/eyesee-mpp"

QT_STAGING_DIR = $${QT_TINA_ROOT}/out/v853-gs_ai_camera/staging_dir/target
QT_MPP_PACKAGE_TOP = $${QT_TINA_ROOT}/external/eyesee-mpp/middleware/sun8iw21
QT_MPP_PATH = usr/include/eyesee-mpp

LOCAL_CFLAGS_QT=\
-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -g3 -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_LOG_LIB_GLOG -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -Wno-unused-label -Wno-unused-const-variable -Wno-comment -Wno-unused-value  -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro  -DTINA_PLATFORM -DAWCHIP=0x1886 -DMPPCFG_SUPPORT_FASTBOOT=0 -DMPPCFG_ENABLE_AIISP=0 -DCONFIG_LOG_LEVEL=3 -DCDXCFG_FILE_SYSTEM=0 -DCDXCFG_HW_DISPLAY=1 -DMPPCFG_VI=1 -DMPPCFG_VO=1 -DMPPCFG_TEXTENC=1 -DMPPCFG_VENC=1 -DMPPCFG_VDEC=1 -DMPPCFG_AIO=1 -DMPPCFG_AENC=1 -DMPPCFG_AENC_PCM=1 -DMPPCFG_AENC_G711=0 -DMPPCFG_AENC_G726=0 -DMPPCFG_AENC_AAC=1 -DMPPCFG_AENC_MP3=0 -DMPPCFG_ADEC=1 -DMPPCFG_ADEC_WAV=1 -DMPPCFG_ADEC_G726=0 -DMPPCFG_ADEC_AAC=1 -DMPPCFG_ADEC_MP3=0 -DMPPCFG_ADEC_AMR=0 -DMPPCFG_ADEC_APE=0 -DMPPCFG_ADEC_FLAC=0 -DMPPCFG_ADEC_OGG=0 -DMPPCFG_ADEC_OPUS=0 -DMPPCFG_MUXER=1 -DMPPCFG_DEMUXER=1 -DMPPCFG_ISE=0 -DMPPCFG_ISE_MO=0 -DMPPCFG_ISE_GDC=0 -DMPPCFG_ISE_TWO_FISHEYE=0 -DMPPCFG_ISE_TWO_ISE=0 -DMPPCFG_EIS=0 -DMPPCFG_MOTION_DETECT_SOFT=0 -DMPPCFG_VLPR=0 -DMPPCFG_ADAS_DETECT=0 -DMPPCFG_ADAS_DETECT_V2=0 -DMPPCFG_BDII=0 -DMPPCFG_EVEFACE=0 -DMPPCFG_AEC=1 -DMPPCFG_AEC_LIB=0 -DMPPCFG_SOFTDRC=1 -DMPPCFG_AGC=0 -DMPPCFG_ANS=1 -DMPPCFG_ANS_LIB=0 -I. -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/utils -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/vo -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/openssl -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/crypto -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/rgb_ctrl -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/libion/include -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/private/rtsp/IPCProgram/interface -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/external/sound_controler -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/external/sound_controler/include -I$${QT_STAGING_DIR}/usr/include/viplite-driver -I$${QT_STAGING_DIR}/usr/include/libawaiisp -I$${QT_MPP_PACKAGE_TOP}/include/utils -I$${QT_MPP_PACKAGE_TOP}/include/media -I$${QT_MPP_PACKAGE_TOP}/include/media/utils -I$${QT_MPP_PACKAGE_TOP}/include -I$${QT_MPP_PACKAGE_TOP}/config -I$${QT_MPP_PACKAGE_TOP}/media/include -I$${QT_MPP_PACKAGE_TOP}/media/include/utils -I$${QT_MPP_PACKAGE_TOP}/media/include/audio -I$${QT_MPP_PACKAGE_TOP}/media/include/component -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include/device -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include/V4l2Camera -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_tuning -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libAIE_Vda/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_ai_common -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_eve_common -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libeveface/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_stream -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_FsWriter -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/osal -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/decoding/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_lib/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_float_lib/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_muxer -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libfilerepair/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/common/iniparser -I$${QT_MPP_PACKAGE_TOP}/sample/configfileparser -I$${QT_TINA_ROOT}/out/v853-gs_ai_camera/compile_dir/target/linux-v853-gs_ai_camera/linux-4.9.191/user_headers/include  -fPIC -Wall -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-label -Wno-unused-function


LOCAL_CPPFLAGS_QT=\
-I$${QT_STAGING_DIR}/usr/include -I$${QT_STAGING_DIR}/include -I$${QT_TINA_ROOT}/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/include -I$${QT_TINA_ROOT}/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I$${QT_TINA_ROOT}/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify

LOCAL_CXXFLAGS_QT = \
-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -g3 -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_LOG_LIB_GLOG -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -Wno-unused-label -Wno-unused-const-variable -Wno-comment -Wno-unused-value  -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -Wnon-virtual-dtor -std=c++11 -fno-rtti  -DTINA_PLATFORM -DAWCHIP=0x1886 -DMPPCFG_SUPPORT_FASTBOOT=0 -DMPPCFG_ENABLE_AIISP=0 -DCONFIG_LOG_LEVEL=3 -DCDXCFG_FILE_SYSTEM=0 -DCDXCFG_HW_DISPLAY=1 -DMPPCFG_VI=1 -DMPPCFG_VO=1 -DMPPCFG_TEXTENC=1 -DMPPCFG_VENC=1 -DMPPCFG_VDEC=1 -DMPPCFG_AIO=1 -DMPPCFG_AENC=1 -DMPPCFG_AENC_PCM=1 -DMPPCFG_AENC_G711=0 -DMPPCFG_AENC_G726=0 -DMPPCFG_AENC_AAC=1 -DMPPCFG_AENC_MP3=0 -DMPPCFG_ADEC=1 -DMPPCFG_ADEC_WAV=1 -DMPPCFG_ADEC_G726=0 -DMPPCFG_ADEC_AAC=1 -DMPPCFG_ADEC_MP3=0 -DMPPCFG_ADEC_AMR=0 -DMPPCFG_ADEC_APE=0 -DMPPCFG_ADEC_FLAC=0 -DMPPCFG_ADEC_OGG=0 -DMPPCFG_ADEC_OPUS=0 -DMPPCFG_MUXER=1 -DMPPCFG_DEMUXER=1 -DMPPCFG_ISE=0 -DMPPCFG_ISE_MO=0 -DMPPCFG_ISE_GDC=0 -DMPPCFG_ISE_TWO_FISHEYE=0 -DMPPCFG_ISE_TWO_ISE=0 -DMPPCFG_EIS=0 -DMPPCFG_MOTION_DETECT_SOFT=0 -DMPPCFG_VLPR=0 -DMPPCFG_ADAS_DETECT=0 -DMPPCFG_ADAS_DETECT_V2=0 -DMPPCFG_BDII=0 -DMPPCFG_EVEFACE=0 -DMPPCFG_AEC=1 -DMPPCFG_AEC_LIB=0 -DMPPCFG_SOFTDRC=1 -DMPPCFG_AGC=0 -DMPPCFG_ANS=1 -DMPPCFG_ANS_LIB=0 -I. -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/utils -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/vo -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/openssl -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/include/crypto -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/rgb_ctrl -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/public/libion/include -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/system/private/rtsp/IPCProgram/interface -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/external/sound_controler -I$${QT_STAGING_DIR}/usr/include/eyesee-mpp/external/sound_controler/include -I$${QT_STAGING_DIR}/usr/include/viplite-driver -I$${QT_STAGING_DIR}/usr/include/libawaiisp -I$${QT_MPP_PACKAGE_TOP}/include/utils -I$${QT_MPP_PACKAGE_TOP}/include/media -I$${QT_MPP_PACKAGE_TOP}/include/media/utils -I$${QT_MPP_PACKAGE_TOP}/include -I$${QT_MPP_PACKAGE_TOP}/config -I$${QT_MPP_PACKAGE_TOP}/media/include -I$${QT_MPP_PACKAGE_TOP}/media/include/utils -I$${QT_MPP_PACKAGE_TOP}/media/include/audio -I$${QT_MPP_PACKAGE_TOP}/media/include/component -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include/device -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/include/V4l2Camera -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_tuning -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libAIE_Vda/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_ai_common -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_eve_common -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libeveface/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_stream -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_FsWriter -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/osal -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/decoding/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_lib/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_float_lib/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/include_muxer -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libfilerepair/include -I$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/common/iniparser -I$${QT_MPP_PACKAGE_TOP}/sample/configfileparser -I$${QT_TINA_ROOT}/out/v853-gs_ai_camera/compile_dir/target/linux-v853-gs_ai_camera/linux-4.9.191/user_headers/include  -fPIC -Wall -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-label -Wno-unused-function

QMAKE_CFLAGS += $${LOCAL_CFLAGS_QT} $${LOCAL_CPPFLAGS_QT}

QMAKE_CXXFLAGS += $${LOCAL_CXXFLAGS_QT} $${LOCAL_CPPFLAGS_QT}

LOCAL_BIN_LDFLAGS_QT = \
-L$${QT_STAGING_DIR}/usr/lib -L$${QT_STAGING_DIR}/lib -L$${QT_TINA_ROOT}/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/lib -L$${QT_TINA_ROOT}/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib -znow -zrelro -L$${QT_STAGING_DIR}/usr/lib/eyesee-mpp -L$${QT_MPP_PACKAGE_TOP}/sample/configfileparser -L$${QT_MPP_PACKAGE_TOP}/media/utils -L$${QT_MPP_PACKAGE_TOP}/media -L$${QT_MPP_PACKAGE_TOP}/media/component -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libstream -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/base -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/common -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/aac -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/id3v2 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mov -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mp3 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mpg -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ts -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/wav -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/amr -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ape -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/flac -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ogg -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/base -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/base -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/file -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/http -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/tcp -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/base -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/memory -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/base -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/library/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/ve -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/common -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/h264 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/h265 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/jpeg -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/h264 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/h265 -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/mjpeg -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libdemux -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libfilerepair -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/muxers -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mp4_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/raw_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mpeg2ts_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/aac_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mp3_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/wav_muxer -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/common/libavutil -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libFsWriter -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/decoding -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/audioEffectLib/lib -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/textEncLib -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/aec_lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/drc_lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_float_lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/ans_lib/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libResample -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libAudioVps/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/out/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_cfg -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_dev -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/iniparser -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE/out -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libVideoStabilization -L$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libVideoStabilization/out -L$${QT_MPP_PACKAGE_TOP}/media/librender\
-Wl,-rpath-link=$${QT_STAGING_DIR}/usr/lib/eyesee-mpp:$${QT_MPP_PACKAGE_TOP}/sample/configfileparser:$${QT_MPP_PACKAGE_TOP}/media/utils:$${QT_MPP_PACKAGE_TOP}/media:$${QT_MPP_PACKAGE_TOP}/media/component:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libstream:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/base:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/common:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/aac:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/id3v2:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mov:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mp3:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/mpg:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ts:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/wav:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/amr:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ape:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/flac:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/ogg:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/parser/base:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/base:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/file:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/http:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarx/libcore/stream/tcp:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/base:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/memory:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/base:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/library/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/ve:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/common:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/h264:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/h265:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vencoder/libcodec/jpeg:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/h264:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/h265:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libcedarc/vdecoder/videoengine/mjpeg:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libdemux:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libfilerepair:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/muxers:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mp4_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/raw_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mpeg2ts_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/aac_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/mp3_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/wav_muxer:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libmuxer/common/libavutil:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libFsWriter:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/decoding:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/midware/encoding:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/AudioLib/lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/audioEffectLib/lib:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/textEncLib:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/aec_lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/drc_lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/agc_float_lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/ans_lib/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libResample:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libAudioVps/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/out/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_cfg:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/isp_dev:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libisp/iniparser:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libISE/out:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libVideoStabilization:$${QT_MPP_PACKAGE_TOP}/media/LIBRARY/libVideoStabilization/out:$${QT_MPP_PACKAGE_TOP}/media/librender \
-Wl,-Bstatic -Wl,--whole-archive \
-Wl,--start-group  -lz  -llog  -lion  -law_mpp  -lmedia_utils  -lexpat  -lcdx_common  -lcdx_base  -lResample  -lAudioVps  -lsample_confparser  -lISP  -lisp_dev  -lisp_ini  -liniparser  -lisp_ae  -lisp_af  -lisp_afs  -lisp_awb  -lisp_base  -lisp_gtm  -lisp_iso  -lisp_math  -lisp_md  -lisp_pltm  -lisp_rolloff  -lcedarxrender  -lhwdisplay  -lcedarx_tencoder  -lMemAdapter  -lVE  -lcdc_base  -lvencoder  -lvenc_common  -lvenc_base  -lvenc_h264  -lvenc_h265  -lvenc_jpeg  -lvdecoder  -lvideoengine  -lawh264  -lawmjpeg  -lcedarx_aencoder  -laacenc  -ladecoder  -lwav  -laac  -lcedarxstream  -lmuxers  -lmp4_muxer  -lraw_muxer  -lmpeg2ts_muxer  -laac_muxer  -lmp3_muxer  -lwav_muxer  -lffavutil  -lFsWriter  -lcedarxdemuxer  -lcdx_aac_parser  -lcdx_id3v2_parser  -lcdx_mp3_parser  -lcdx_mov_parser  -lcdx_mpg_parser  -lcdx_ts_parser  -lcdx_wav_parser  -lcdx_amr_parser  -lcdx_ape_parser  -lcdx_flac_parser  -lcdx_ogg_parser  -lcdx_parser  -lcdx_file_stream  -lcdx_http_stream  -lcdx_tcp_stream  -lcdx_stream  -lAec  -lDrc  -lAns \
-Wl,--end-group -Wl,--no-whole-archive -Wl,-Bdynamic  -lasound  -lglog

QMAKE_LFLAGS += $${LOCAL_BIN_LDFLAGS_QT}

SOURCES += \
    ../sample_virvi2vo/sample_virvi2vo.c \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    ../sample_virvi2vo/sample_virvi2vo.h \
    ../sample_virvi2vo/sample_virvi2vo_config.h \
    WorkerThread.h \
    mainwindow.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    ../sample_virvi2vo/Readme.txt \
    ../sample_virvi2vo/sample_virvi2vo \
    ../sample_virvi2vo/sample_virvi2vo.c.o.d \
    ../sample_virvi2vo/sample_virvi2vo.conf
